<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> 
	<meta name="viewport" content="width=device-width,initial-scale=1" />
	<link rel="shortcut icon" href="templete/favicon.ico" />
	<title><?php echo $title ?></title>
	<link rel="stylesheet" href="../templete/origin/image/style.css" type="text/css" />
	<link rel="profile" href="http://gmpg.org/xfn/11" />
	<meta name="generator" content="elfmedy" />
	<meta name="template" content="origin" />
	<style type="text/css">
		body.post-page h1{font-weight:bold;}
		body.post-page h3{border-bottom:1px solid #e0e0dc;}
		body.post-page #entry-nav{display:none; float:right; padding:0 0 1em 20px; width:272px; position:relative; z-index: 1;background:#fff;}
		body.post-page .page-toc{padding:16px 18px; margin:0 0 5px; border:1px solid #ccc;}
		body.post-page .page-toc h2{margin:0 0 .75em; font-size:20px; line-height:1.2;font-weight:bold;}
		body.post-page .page-toc ol{margin:0; padding:0; list-style:circle inside none;}
		body.post-page .page-toc ol li{margin-bottom:.25em;}
	</style>
	<script type="text/javascript" src="../templete/origin/image/jquery-1.7.2.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			var searchResult = $('.entry_content h3');
			if (searchResult.length > 1) {
				$('#entry-nav').css('display', 'block');
				var entryNavOl = $('#entry-nav-ol');
				searchResult.each(function(index, element){
					var attrValue = 'toc_' + (index + 1);
					$(element).attr('id', attrValue);
					$(element).attr('name', attrValue);
					entryNavOl.append('<li><a href="#' + attrValue + '" rel="internal">' + $(element).text() + '</a></li>');
				});
			}
		});
	</script>
</head>
<body class="post-page singular singular-post page-template-fullwidth">
	<div id="container">
		<div class="wrap">
			<div id="header">
				
				<div id="branding">				
					<h1 id="site-title"><a href="http://elfmedy.sinaapp.com" title="不是苹果" rel="home"><span>不是苹果</span></a></h1>							
				</div><!-- #branding -->
				
				<div id="menu-primary" class="menu-container">
					<div class="menu">
						<ul id="menu-primary-items" class="">
							<li><a href="http://elfmedy.sinaapp.com/" title="首页">首页</a></li>
							<li><a href="http://elfmedy.sinaapp.com/archives.html" title="归档页面">归档</a></li>
							<li><a href="http://elfmedy.sinaapp.com/about.html" title="关于">关于</a></li>
						</ul>
					</div>
				</div><!-- #menu-primary .menu-container -->
				
				<div id="site-description"><span>青青子衿，悠悠我心</span></div>	
				<div class="breadcrumb breadcrumbs">
					<div class="breadcrumb-trail">
						<a href="http://elfmedy.sinaapp.com" title="首页" rel="home" class="trail-begin breadcrumb-fone">Home</a>
						<span class="sep">»</span>
						<a href="../archives.html" title="归档页面" rel="archives" class="breadcrumb-ftwo">Archives</a>
						<span class="sep">»</span>
						<span class="trail-end breadcrumb-fthree"><?php echo $title ?></span>
					</div>
				</div>
			</div><!-- #header -->
	
			<div id="main">
				<div id="content">
						
					<div class="hfeed">
					
						<div class="hentry">
							<div class="post-content">
								<h1 class="post-title entry-title"><?php echo $title ?></h1>
								<div class="byline">
									<?php
										$postTimeArr = explode('.', $date);
										$postTimeStr = $postTimeArr[0] . ' 年 '. $postTimeArr[1] . ' 月 ' . $postTimeArr[2] . ' 日';
									?>
									<abbr class="published" title="<?php echo $postTimeStr ?>"><?php echo $postTimeStr ?></abbr>
									 &middot; by 
									<span class="author">不是苹果</span>
									 &middot; in 
									<span class="category">
										<?php
											$categoryCount = count($category);
											$categoryIter = 0;
											for ( ; $categoryIter < $categoryCount - 1; $categoryIter++) {
												echo $category[$categoryIter] . ', ';
											}
											echo $category[$categoryIter];
										?>
									</span>
								</div>
								<div class="entry_content">
									<div id="entry-nav">
										<div class="page-toc">
											<h2>「目录」</h2>
											<ol id="entry-nav-ol">
											</ol>
										</div>
									</div>